efi_selftest: deduplicate code
authorHeinrich Schuchardt <[email protected]>
Wed, 18 Oct 2017 16:13:12 +0000 (18:13 +0200)
committerAlexander Graf <[email protected]>
Fri, 1 Dec 2017 12:22:55 +0000 (13:22 +0100)
commit1f66a12e237f7ce9dc9b997e7ce0b2a33893ce12
tree92eadf4aafed4dc86b09d96d86cdda7c3bb98072
parent9a52a0f77da6bbc4a1b13bff1aceb376057af9b3
efi_selftest: deduplicate code

Move duplicate code to the new function efi_st_do_tests.

Suggested-by: Alexander Graf <[email protected]>
Signed-off-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
lib/efi_selftest/efi_selftest.c